package com.wzdigit.wms.web.service.wms2sap.checkinstore;

public class ZSI_065_WMS2SAP_OUTProxy implements ZSI_065_WMS2SAP_OUT {
  private String _endpoint = null;
  private ZSI_065_WMS2SAP_OUT zSI_065_WMS2SAP_OUT = null;
  
  public ZSI_065_WMS2SAP_OUTProxy() {
    _initZSI_065_WMS2SAP_OUTProxy();
  }
  
  public ZSI_065_WMS2SAP_OUTProxy(String endpoint) {
    _endpoint = endpoint;
    _initZSI_065_WMS2SAP_OUTProxy();
  }
  
  private void _initZSI_065_WMS2SAP_OUTProxy() {
    try {
      zSI_065_WMS2SAP_OUT = (new ZSI_065_WMS2SAP_OUTServiceLocator()).getHTTPS_Port();
      if (zSI_065_WMS2SAP_OUT != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)zSI_065_WMS2SAP_OUT)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)zSI_065_WMS2SAP_OUT)._getProperty("javax.xml.rpc.service.endpoint.address");
      }
      
    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }
  
  public String getEndpoint() {
    return _endpoint;
  }
  
  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (zSI_065_WMS2SAP_OUT != null)
      ((javax.xml.rpc.Stub)zSI_065_WMS2SAP_OUT)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
    
  }
  
  public ZSI_065_WMS2SAP_OUT getZSI_065_WMS2SAP_OUT() {
    if (zSI_065_WMS2SAP_OUT == null)
      _initZSI_065_WMS2SAP_OUTProxy();
    return zSI_065_WMS2SAP_OUT;
  }
  
  public ZDT_065_RspRECORDS[] ZSI_065_WMS2SAP_OUT(ZDT_065_Req ZMT_065_WMS_Req) throws java.rmi.RemoteException{
    if (zSI_065_WMS2SAP_OUT == null)
      _initZSI_065_WMS2SAP_OUTProxy();
    return zSI_065_WMS2SAP_OUT.ZSI_065_WMS2SAP_OUT(ZMT_065_WMS_Req);
  }
  
  
}